.class Lcom/estrongs/android/pop/utils/j$i;
.super Ljava/lang/Object;
.source "AppOperateHelper.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/utils/j;->c(Ljava/util/List;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;

.field final synthetic b:Lcom/estrongs/android/pop/utils/j;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/utils/j;Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/utils/j$i;->b:Lcom/estrongs/android/pop/utils/j;

    iput-object p2, p0, Lcom/estrongs/android/pop/utils/j$i;->a:Ljava/util/List;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3

    .line 1
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    .line 3
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j$i;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_1

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j$i;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/y10;

    invoke-virtual {v2}, Les/y10;->p()Landroid/content/pm/ApplicationInfo;

    move-result-object v2

    if-nez v2, :cond_0

    goto :goto_1

    .line 5
    :cond_0
    iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-interface {p2, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j$i;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/y10;

    invoke-virtual {v2}, Lcom/estrongs/fs/m;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 7
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j$i;->b:Lcom/estrongs/android/pop/utils/j;

    iget-object v1, v1, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {v1, p2, v0}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;)V

    .line 8
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method
